<div class="input">
 <form method="post" action="article!saveEdit.do" name="theForm" id="theForm"  class="validate" enctype="multipart/form-data">
 <input type="hidden" name="article.id" value="${article.id }" />
   <table cellspacing="1" cellpadding="3" width="100%"  class="form-table">
     <tr>
       <th>文章标题</th>
       <td><input type="text" name="article.title" id="title" style="width:350px" value="${article.title }" dataType="string" isrequired="true"/>       </td>
     </tr>
     <tr>
       <th >所属类别</th>
       <td>
       	<select name="article.cat_id"  id="cat_id">
 		<#assign children=catList />
		<#assign level=1 />
		<#include 'select_children.html' />  
		</select>
		</td>
     </tr>
     <tr>
     <th>内容</th>
       <td colspan="2" >
       <textarea id="content" name="article.content" >${article.content}</textarea>
       </td>
    
      </tr>
    
   </table>
   <div class="submitlist" align="center">
 <table>
 <tr><td >
  <input name="submit" type="submit"	  value=" 确    定   " class="submitBtn" />
   </td>
   </tr>
 </table>
</div>
 </form>
<script type="text/javascript">
$(function(){
	 $('#content' ).ckeditor( );   
	 $("#cat_id").val(${article.cat_id});
	 $("form.validate").validate();
});
</script>
</div>

